// app.js
App({
  globalData: {
    navBarHeight:100,
  },
  onLaunch() {
    // 判断是否登录 
    const sysInfo = wx.getWindowInfo();
    
    this.globalData.navBarHeight=sysInfo.statusBarHeight
  },
})
